export interface ListTableCollection {
    id?: number | null
    internalId?: string | null
    name?: string
    alternateName?: string
    preservationStatus?: string
    currentLocation?: string
    acquisitionDate?: Date | null
    status?: string
    isDeleted?: boolean | null
}
export interface ListTableCollectionDetail {
    id?: number | null
    internalId?: string | null
    name?: string
    alternateName?: string
    preservationStatus?: string
    currentLocation?: string
    acquisitionDate?: Date | null
    status?: string
    subcategory?: string
    period?: string
    description?: string
    weight?: number | null
    img?: string
    isDeleted?: boolean | null
}
export interface collectionEditDetailType {
    id?: number | null
    internalId?: string
    name?: string
    alternateName?: string
    classificationId?: number | null
    eraId?: number | null
    description?: string
    preservationStatus?: string
    weight?: number | null
    currentLocation?: string
    status?: string
    updatedAt?: Date | null | string
    img?: string
}
export interface collectionEditSubmit {
    id?: number | null
    internalId?: string
    name?: string
    alternateName?: string
    classificationId?: number | null
    eraId?: number | null
    description?: string
    preservationStatus?: string
    weight?: number | null
    currentLocation?: string
    status?: string
    updatedAt?: Date | null | string
    img?: string
}

export interface collectionAddDetail {
    id?: number | null
    internalId?: string
    name?: string
    alternateName?: string
    classificationId?: number | null
    eraId?: number | null
    description?: string
    preservationStatus?: string
    weight?: number | null
    currentLocation?: string
    status?: string
    createdAt?: Date | null | string
    img?: string
}
export interface collectionReview {
    totalReview?: number | null
    todayNewReview?: number | null
}
export interface collectionReviewTable {
    id?: number | null,
    img?: string,
    name?: string,
    subcategory?: string
    donorName?: string
    createdAt?: Date | null
    submitUser?: string
    isAdd?: boolean | null
}
export interface classificationList {
    categoryId?: number|null,
    category?: string
    categoryIsDeactivate?: number
    subcategoryNumber?:number
    children?: SubClassification[]
}
export interface SubClassification {
    subcategoryId: string
    subcategory: string
    subcategoryIsDeactivate: number
    selected?: boolean // 添加选中状态标记
  }
export interface addClassification {
    categoryId?: number|null
    category?: string
    categoryIsDeactivate?: number
    subcategoryNumber?:number
    subcategoryId: string
    subcategory?: string
    subcategoryIsDeactivate?: number
}
export interface classificationCategory {
    value?: string,
    label?: string
}
export interface EditClassification{
    categoryId?: number|null,
    category?: string,
    categoryIsDeactivate?: number,
    subcategoryId?: string,
    subcategory?: string,
    subcategoryIsDeactivate?: number
}
export interface UserList {
    id?: string
    username?: string
    positionName?: string
    deptName?: string
    mobile?: string
    status?: number
    createdAt?: Date
}
export interface DepartmentList{
    id?: number,
    deptName?: string,
    status?: number
    parentId?: string
    createTime?: Date|''
    realName?: string
    children?: DepartmentList[]
}
export interface DepartmentAdd {
    id?:string
    parentId?:string,
    deptName?: string,
    status?: number
    time?: Date|null|string
    managerId?: string
}
export interface PositionList{
    id?: string|null,
    positionName?: string,
    deptName?: string,
    maxHeadcount?: number,
    currentHeadCount?: number,
    status?: number
    time?: Date|''
}
export interface PositionAdd{
    id?: number,
    positionName?: string,
    deptId?: string,
    maxHeadcount?: number,
    status?: number
    time?: Date|string
    responsibility?: string
}
export interface roleList{
    id?: string,
    roleName?: string,
    rolekey?: string,
    status?: number
    time?: Date|''
}

export interface roleAdd{
    id?: string,
    roleName?: string,
    roleKey?: string,
    status?: number
    time?: Date|string
    description?: string
    permission?: string[]
}
export interface AddUser{
    id?: string,
    username?: string,
    password?: string,
    realName?: string,
    email?: string,
    mobile?: string,
    roleId?: string[],
    departmentId?: string,
    positionId?: string,
    status?: number,
    time?: Date|string
}

export interface operateLogList{
    id?: string,
    username?: string,
    operateType?: string,
    operateDeatil?: string,
    ipAddress?: string,
    operateTime?: Date|string
    doTime?: Date|string
    operateResult?: string
}
export interface loginLogList{
    id?: string,
    username?: string,
    loginTime?: Date|string,
    loginIp?: string,
    loginAddress?: string,
    userAgent?: string,
    status?: number,
    loginSystem?: string,
    loginMessage?: string
}
export interface personDetails{
    id?: string,
    username?: string,
    email?: string,
    mobile?: string,
    deptName?: string,
    positionName?: string,
    createdAt?: Date|string
    imgUrl?: string
    roleName?: string
    realName?: string
}
export interface addExhibition{
    id?: number|null,
    exhibitionName?: string,
    exhibitionTime?: Date|string,
    exhibitionAddress?: string,
    exhibitionDescription?: string,
    exhibitionImg?: string,
    exhibitionStatus?: number,
    exhibitionType?: number
}
